package com.kiven.callback;

/*
 * 包权限问题
 */
class ModifierFather {
	public String s1 = "liqingwen";
	private String s2 = "liqingwen";
	protected String s3 = "liqingwen";
	String s4 = "liqingwen";
}

public class Modifier extends ModifierFather {
	public static void main(String[] args) {
		Modifier m = new Modifier();
		System.out.println("对父类中对各种修饰符的访问");
		System.out.println("s1= "+ m.s1);
		System.out.println("s2= "+ m.s1);
		System.out.println("s3= "+ m.s1);
		System.out.println("s4= "+ m.s1);
	}
}

